package com.cusprovider.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.cusprovider.dao.CustomerDao;
import com.pojo.Customer;
import com.service.CustomerService;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Component
@Transactional
@Service(interfaceClass = CustomerService.class)
public class CustomerServiceimpl implements CustomerService {

    @Resource
    private CustomerDao customerDao;


    @Override
    public List<Customer> getCustomer() {
        return null;
    }

    @Override
    public Customer getCustomerId(int id) {
        return null;
    }

    @Override
    public boolean addCustomer(Customer customer) {
        return false;
    }

    @Override
    public boolean deleteCustomer(Customer customer) {
        return false;
    }

    @Override
    public boolean updateCustomer(Customer customer) {
        return false;
    }
}
